<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html>
<head>
    <title>添加商家</title>
    <c:import url="hcommon.jsp"></c:import>
    <c:import url="header.jsp"></c:import>
    <c:import url="left.jsp"></c:import>
</head>
<body>
<div style="text-align: center; width: 500px; margin: 0 auto ;margin-top:68px">
    <form action="addStore.action" method="post" enctype="multipart/form-data">
        <div class="form-group">
            <label for="sname">门店名称</label> <input type="text"
                                                   class="form-control" id="sname" name="sname" placeholder="请输入门店名称"
                                                   require="require">
        </div>
        <div class="form-group">
            <label for="saddress">门店地址</label> <input type="text"
                                                      class="form-control" id="saddress" name="saddress"
                                                      placeholder="请输入商品名称"
                                                      require="require">
        </div>
        <div class="form-group">
            <label for="picture">门店图片</label> <input type="file" class="form-control"
                                                     id="picture" name="file">
        </div>
        <div class="form-group">
            <label for="businesslicense">营业执照</label> <input type="file" class="form-control"
                                                             id="businesslicense" name="file1">
        </div>
        <div class="form-group">
            <label for="rid">红包类型:</label>
            <select class="select" name="rid" size="1" id="rid" require="require">
                <option value="1">商家</option>
                <option value="2">平台</option>
            </select>
        </div>
        <div class="form-group">
            <label for="sgrade">门店评分</label> <input type="text" class="form-control"
                                                    id="sgrade" name="sgrade">
        </div>
        <div class="form-group">
            <label for="income">营业额</label> <input type="text" class="form-control"
                                                   id="income" name="income">
        </div>
        <input type="submit" value="提交" class="btn">
    </form>
</div>
</body>
</body>
</html>
